import 'package:safetymonitor/generated/json/base/json_field.dart';
import 'package:safetymonitor/generated/json/env_monitor_history_entity.g.dart';
import 'dart:convert';
export 'package:safetymonitor/generated/json/env_monitor_history_entity.g.dart';

@JsonSerializable()
class EnvMonitorHistoryEntity {
	String? alarmStartTime;
	String? categoryEn;
	String? categoryZh;
	int? val;

	EnvMonitorHistoryEntity();

	factory EnvMonitorHistoryEntity.fromJson(Map<String, dynamic> json) => $EnvMonitorHistoryEntityFromJson(json);

	Map<String, dynamic> toJson() => $EnvMonitorHistoryEntityToJson(this);

	@override
	String toString() {
		return jsonEncode(this);
	}
}